﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TT.Compiler
{
    public enum LogLever
    {
        Log,
        Warnning,
        Error
    }
    public class ConsoleLogger : ILogger
    {
        public void Log(LogLever level, string str)
        {
            Console.WriteLine("[" + level + "]" + str);
        }
    }

    public interface ILogger
    {
        void Log(LogLever level, string str);
    }
}
